package com.example.demotest.pojo.dto;

public class RiderDto {
    private String riderName;
    private String password;
    private String nickname;
    private String phone;

    public RiderDto() {}

    public RiderDto(String riderName, String password, String nickname, String phone) {
        this.riderName = riderName;
        this.password = password;
        this.nickname = nickname;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "RiderDto{" +
                "riderName='" + riderName + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getRiderName() {
        return riderName;
    }

    public void setRiderName(String riderName) {
        this.riderName = riderName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
